package com.hopu.pyq.entity;

import java.io.Serializable;
import java.util.List;

public class Pyq implements Serializable {

    private Integer id;
    private Integer userId;
    private String content;
    private String image;
    //用户对象
    private User user;
    //点赞人的集合
    private List<User> zanUsers;

    public List<User> getZanUsers() {
        return zanUsers;
    }

    public void setZanUsers(List<User> zanUsers) {
        this.zanUsers = zanUsers;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
